package com.hmall.order.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hmall.order.mapper.OrderMapper;
import com.hmall.order.pojo.Order;
import com.hmall.order.pojo.OrderVO;
import com.hmall.order.service.IOrderService;
import org.springframework.stereotype.Service;

@Service
public class OrderService extends ServiceImpl<OrderMapper, Order> implements IOrderService {
    @Override
    public Long submitOrder(OrderVO orderVO) {
        // 1、使用雪花算法生成订单id

        // 2、通过收货地址id调用Address的feign查询地址

        // 通过收货地址id调用Address的feign查询地址

        //
        //
        //
        //
        return null;
    }
}
